<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>src.input.db_params</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="src-module.html">Package&nbsp;src</a> ::
        <a href="src.input-module.html">Package&nbsp;input</a> ::
        Module&nbsp;db_params
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="src.input.db_params-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="src.input.db_params-module.html">Module src.input.db_params</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-docstring">Created on Aug 18, 2012</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring">@author: petrina</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"> </tt>
<a name="DB_params"></a><div id="DB_params-def"><a name="L10"></a><tt class="py-lineno"> 10</tt> <a class="py-toggle" href="#" id="DB_params-toggle" onclick="return toggle('DB_params');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html">DB_params</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="DB_params-expanded"><a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-docstring">    This class describes the parameters for the database connection.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-docstring">    It does not suggest a specific database system because these</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-docstring">    parameters are relevant for most (object-)relational-databasesystems. </tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-docstring">    Instances are used from DB_manager and its subclasses. </tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="DB_params.__init__"></a><div id="DB_params.__init__-def"><a name="L19"></a><tt class="py-lineno"> 19</tt> <a class="py-toggle" href="#" id="DB_params.__init__-toggle" onclick="return toggle('DB_params.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">password</tt><tt class="py-op">,</tt> <tt class="py-param">databasename</tt><tt class="py-op">,</tt> <tt class="py-param">schema</tt><tt class="py-op">,</tt> <tt class="py-param">host</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>   </tt>
</div><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Variable src.configuration.default_config.Default_config.username=src.configuration.default_config.Default_config-class.html#username,Variable src.input.db_params.DB_params.username=src.input.db_params.DB_params-class.html#username"><a title="src.configuration.default_config.Default_config.username
src.input.db_params.DB_params.username" class="py-name" href="#" onclick="return doclink('link-0', 'username', 'link-0');">username</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name"><a title="src.configuration.default_config.Default_config.username
src.input.db_params.DB_params.username" class="py-name" href="#" onclick="return doclink('link-1', 'username', 'link-0');">username</a></tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Variable src.configuration.default_config.Default_config.password=src.configuration.default_config.Default_config-class.html#password,Variable src.input.db_params.DB_params.password=src.input.db_params.DB_params-class.html#password"><a title="src.configuration.default_config.Default_config.password
src.input.db_params.DB_params.password" class="py-name" href="#" onclick="return doclink('link-2', 'password', 'link-2');">password</a></tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name"><a title="src.configuration.default_config.Default_config.password
src.input.db_params.DB_params.password" class="py-name" href="#" onclick="return doclink('link-3', 'password', 'link-2');">password</a></tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Variable src.configuration.default_config.Default_config.databasename=src.configuration.default_config.Default_config-class.html#databasename,Variable src.input.db_params.DB_params.databasename=src.input.db_params.DB_params-class.html#databasename"><a title="src.configuration.default_config.Default_config.databasename
src.input.db_params.DB_params.databasename" class="py-name" href="#" onclick="return doclink('link-4', 'databasename', 'link-4');">databasename</a></tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="src.configuration.default_config.Default_config.databasename
src.input.db_params.DB_params.databasename" class="py-name" href="#" onclick="return doclink('link-5', 'databasename', 'link-4');">databasename</a></tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Variable src.configuration.default_config.Default_config.schema=src.configuration.default_config.Default_config-class.html#schema,Variable src.input.db_params.DB_params.schema=src.input.db_params.DB_params-class.html#schema"><a title="src.configuration.default_config.Default_config.schema
src.input.db_params.DB_params.schema" class="py-name" href="#" onclick="return doclink('link-6', 'schema', 'link-6');">schema</a></tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name"><a title="src.configuration.default_config.Default_config.schema
src.input.db_params.DB_params.schema" class="py-name" href="#" onclick="return doclink('link-7', 'schema', 'link-6');">schema</a></tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Variable src.input.db_params.DB_params.host=src.input.db_params.DB_params-class.html#host"><a title="src.input.db_params.DB_params.host" class="py-name" href="#" onclick="return doclink('link-8', 'host', 'link-8');">host</a></tt> <tt class="py-op">=</tt> <tt id="link-9" class="py-name"><a title="src.input.db_params.DB_params.host" class="py-name" href="#" onclick="return doclink('link-9', 'host', 'link-8');">host</a></tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">         </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"DB_params: set to "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method src.datastructure.agg_record.Agg_record.__str__()=src.datastructure.agg_record.Agg_record-class.html#__str__,Method src.datastructure.link.Link.__str__()=src.datastructure.link.Link-class.html#__str__,Method src.datastructure.result_value.Result_value.__str__()=src.datastructure.result_value.Result_value-class.html#__str__,Method src.error.data_exceptions.Data_exception.__str__()=src.error.data_exceptions.Data_exception-class.html#__str__,Method src.error.exceptions.Config_exception.__str__()=src.error.exceptions.Config_exception-class.html#__str__,Method src.error.exceptions.Import_exception.__str__()=src.error.exceptions.Import_exception-class.html#__str__,Method src.error.exceptions.Indicator_exception.__str__()=src.error.exceptions.Indicator_exception-class.html#__str__,Method src.error.output_exceptions.Output_exception.__str__()=src.error.output_exceptions.Output_exception-class.html#__str__,Method src.input.db_params.DB_params.__str__()=src.input.db_params.DB_params-class.html#__str__"><a title="src.datastructure.agg_record.Agg_record.__str__
src.datastructure.link.Link.__str__
src.datastructure.result_value.Result_value.__str__
src.error.data_exceptions.Data_exception.__str__
src.error.exceptions.Config_exception.__str__
src.error.exceptions.Import_exception.__str__
src.error.exceptions.Indicator_exception.__str__
src.error.output_exceptions.Output_exception.__str__
src.input.db_params.DB_params.__str__" class="py-name" href="#" onclick="return doclink('link-10', '__str__', 'link-10');">__str__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">         </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">    <tt class="py-comment">#-----------------------getter- and setter-methods-------------------------</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">     </tt>
<a name="DB_params.get_schema"></a><div id="DB_params.get_schema-def"><a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="DB_params.get_schema-toggle" onclick="return toggle('DB_params.get_schema');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#get_schema">get_schema</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.get_schema-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.get_schema-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__schema</tt> </tt>
</div><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"> </tt>
<a name="DB_params.set_schema"></a><div id="DB_params.set_schema-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="DB_params.set_schema-toggle" onclick="return toggle('DB_params.set_schema');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#set_schema">set_schema</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.set_schema-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.set_schema-expanded"><a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__schema</tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name" targets="Variable src.datastructure.result.Result.value=src.datastructure.result.Result-class.html#value,Variable src.datastructure.result_value.Result_value.value=src.datastructure.result_value.Result_value-class.html#value"><a title="src.datastructure.result.Result.value
src.datastructure.result_value.Result_value.value" class="py-name" href="#" onclick="return doclink('link-11', 'value', 'link-11');">value</a></tt> </tt>
</div><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"> </tt>
<a name="DB_params.del_schema"></a><div id="DB_params.del_schema-def"><a name="L39"></a><tt class="py-lineno"> 39</tt> <a class="py-toggle" href="#" id="DB_params.del_schema-toggle" onclick="return toggle('DB_params.del_schema');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#del_schema">del_schema</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.del_schema-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.del_schema-expanded"><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__schema</tt> </tt>
</div><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">         </tt>
<a name="DB_params.get_username"></a><div id="DB_params.get_username-def"><a name="L43"></a><tt class="py-lineno"> 43</tt> <a class="py-toggle" href="#" id="DB_params.get_username-toggle" onclick="return toggle('DB_params.get_username');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#get_username">get_username</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.get_username-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.get_username-expanded"><a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__username</tt> </tt>
</div><a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
<a name="DB_params.get_password"></a><div id="DB_params.get_password-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="DB_params.get_password-toggle" onclick="return toggle('DB_params.get_password');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#get_password">get_password</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.get_password-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.get_password-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__password</tt> </tt>
</div><a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"> </tt>
<a name="DB_params.get_databasename"></a><div id="DB_params.get_databasename-def"><a name="L51"></a><tt class="py-lineno"> 51</tt> <a class="py-toggle" href="#" id="DB_params.get_databasename-toggle" onclick="return toggle('DB_params.get_databasename');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#get_databasename">get_databasename</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.get_databasename-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.get_databasename-expanded"><a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__databasename</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"> </tt>
<a name="DB_params.get_host"></a><div id="DB_params.get_host-def"><a name="L55"></a><tt class="py-lineno"> 55</tt> <a class="py-toggle" href="#" id="DB_params.get_host-toggle" onclick="return toggle('DB_params.get_host');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#get_host">get_host</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.get_host-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.get_host-expanded"><a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__host</tt> </tt>
</div><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"> </tt>
<a name="DB_params.set_username"></a><div id="DB_params.set_username-def"><a name="L59"></a><tt class="py-lineno"> 59</tt> <a class="py-toggle" href="#" id="DB_params.set_username-toggle" onclick="return toggle('DB_params.set_username');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#set_username">set_username</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.set_username-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.set_username-expanded"><a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__username</tt> <tt class="py-op">=</tt> <tt id="link-12" class="py-name"><a title="src.datastructure.result.Result.value
src.datastructure.result_value.Result_value.value" class="py-name" href="#" onclick="return doclink('link-12', 'value', 'link-11');">value</a></tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line"> </tt>
<a name="DB_params.set_password"></a><div id="DB_params.set_password-def"><a name="L63"></a><tt class="py-lineno"> 63</tt> <a class="py-toggle" href="#" id="DB_params.set_password-toggle" onclick="return toggle('DB_params.set_password');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#set_password">set_password</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.set_password-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.set_password-expanded"><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__password</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name"><a title="src.datastructure.result.Result.value
src.datastructure.result_value.Result_value.value" class="py-name" href="#" onclick="return doclink('link-13', 'value', 'link-11');">value</a></tt> </tt>
</div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line"> </tt>
<a name="DB_params.set_databasename"></a><div id="DB_params.set_databasename-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="DB_params.set_databasename-toggle" onclick="return toggle('DB_params.set_databasename');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#set_databasename">set_databasename</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.set_databasename-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.set_databasename-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__databasename</tt> <tt class="py-op">=</tt> <tt id="link-14" class="py-name"><a title="src.datastructure.result.Result.value
src.datastructure.result_value.Result_value.value" class="py-name" href="#" onclick="return doclink('link-14', 'value', 'link-11');">value</a></tt> </tt>
</div><a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"> </tt>
<a name="DB_params.set_host"></a><div id="DB_params.set_host-def"><a name="L71"></a><tt class="py-lineno"> 71</tt> <a class="py-toggle" href="#" id="DB_params.set_host-toggle" onclick="return toggle('DB_params.set_host');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#set_host">set_host</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.set_host-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.set_host-expanded"><a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__host</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="src.datastructure.result.Result.value
src.datastructure.result_value.Result_value.value" class="py-name" href="#" onclick="return doclink('link-15', 'value', 'link-11');">value</a></tt> </tt>
</div><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<a name="DB_params.del_username"></a><div id="DB_params.del_username-def"><a name="L75"></a><tt class="py-lineno"> 75</tt> <a class="py-toggle" href="#" id="DB_params.del_username-toggle" onclick="return toggle('DB_params.del_username');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#del_username">del_username</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.del_username-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.del_username-expanded"><a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__username</tt> </tt>
</div><a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"> </tt>
<a name="DB_params.del_password"></a><div id="DB_params.del_password-def"><a name="L79"></a><tt class="py-lineno"> 79</tt> <a class="py-toggle" href="#" id="DB_params.del_password-toggle" onclick="return toggle('DB_params.del_password');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#del_password">del_password</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.del_password-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.del_password-expanded"><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__password</tt> </tt>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line"> </tt>
<a name="DB_params.del_databasename"></a><div id="DB_params.del_databasename-def"><a name="L83"></a><tt class="py-lineno"> 83</tt> <a class="py-toggle" href="#" id="DB_params.del_databasename-toggle" onclick="return toggle('DB_params.del_databasename');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#del_databasename">del_databasename</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.del_databasename-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.del_databasename-expanded"><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__databasename</tt> </tt>
</div><a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"> </tt>
<a name="DB_params.del_host"></a><div id="DB_params.del_host-def"><a name="L87"></a><tt class="py-lineno"> 87</tt> <a class="py-toggle" href="#" id="DB_params.del_host-toggle" onclick="return toggle('DB_params.del_host');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#del_host">del_host</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.del_host-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.del_host-expanded"><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__host</tt> </tt>
</div><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">         </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">     </tt>
<a name="DB_params.__str__"></a><div id="DB_params.__str__-def"><a name="L91"></a><tt class="py-lineno"> 91</tt> <a class="py-toggle" href="#" id="DB_params.__str__-toggle" onclick="return toggle('DB_params.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="src.input.db_params.DB_params-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DB_params.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DB_params.__str__-expanded"><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"db="</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__databasename</tt> <tt class="py-op">+</tt> <tt class="py-string">" host="</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__host</tt> </tt>
</div><a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">    <tt class="py-comment">#--------------assign properties using get and set-methods-----------------</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">    <tt id="link-16" class="py-name"><a title="src.configuration.default_config.Default_config.username
src.input.db_params.DB_params.username" class="py-name" href="#" onclick="return doclink('link-16', 'username', 'link-0');">username</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name" targets="Method src.configuration.default_config.Default_config.get_username()=src.configuration.default_config.Default_config-class.html#get_username,Method src.input.db_params.DB_params.get_username()=src.input.db_params.DB_params-class.html#get_username"><a title="src.configuration.default_config.Default_config.get_username
src.input.db_params.DB_params.get_username" class="py-name" href="#" onclick="return doclink('link-17', 'get_username', 'link-17');">get_username</a></tt><tt class="py-op">,</tt> <tt id="link-18" class="py-name" targets="Method src.configuration.default_config.Default_config.set_username()=src.configuration.default_config.Default_config-class.html#set_username,Method src.input.db_params.DB_params.set_username()=src.input.db_params.DB_params-class.html#set_username"><a title="src.configuration.default_config.Default_config.set_username
src.input.db_params.DB_params.set_username" class="py-name" href="#" onclick="return doclink('link-18', 'set_username', 'link-18');">set_username</a></tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Method src.configuration.default_config.Default_config.del_username()=src.configuration.default_config.Default_config-class.html#del_username,Method src.input.db_params.DB_params.del_username()=src.input.db_params.DB_params-class.html#del_username"><a title="src.configuration.default_config.Default_config.del_username
src.input.db_params.DB_params.del_username" class="py-name" href="#" onclick="return doclink('link-19', 'del_username', 'link-19');">del_username</a></tt><tt class="py-op">,</tt> <tt class="py-string">"username for accessing the database system"</tt><tt class="py-op">)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">    <tt id="link-20" class="py-name"><a title="src.configuration.default_config.Default_config.password
src.input.db_params.DB_params.password" class="py-name" href="#" onclick="return doclink('link-20', 'password', 'link-2');">password</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name" targets="Method src.configuration.default_config.Default_config.get_password()=src.configuration.default_config.Default_config-class.html#get_password,Method src.input.db_params.DB_params.get_password()=src.input.db_params.DB_params-class.html#get_password"><a title="src.configuration.default_config.Default_config.get_password
src.input.db_params.DB_params.get_password" class="py-name" href="#" onclick="return doclink('link-21', 'get_password', 'link-21');">get_password</a></tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Method src.configuration.default_config.Default_config.set_password()=src.configuration.default_config.Default_config-class.html#set_password,Method src.input.db_params.DB_params.set_password()=src.input.db_params.DB_params-class.html#set_password"><a title="src.configuration.default_config.Default_config.set_password
src.input.db_params.DB_params.set_password" class="py-name" href="#" onclick="return doclink('link-22', 'set_password', 'link-22');">set_password</a></tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name" targets="Method src.configuration.default_config.Default_config.del_password()=src.configuration.default_config.Default_config-class.html#del_password,Method src.input.db_params.DB_params.del_password()=src.input.db_params.DB_params-class.html#del_password"><a title="src.configuration.default_config.Default_config.del_password
src.input.db_params.DB_params.del_password" class="py-name" href="#" onclick="return doclink('link-23', 'del_password', 'link-23');">del_password</a></tt><tt class="py-op">,</tt> <tt class="py-string">"password for accessing the database system"</tt><tt class="py-op">)</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">    <tt id="link-24" class="py-name"><a title="src.configuration.default_config.Default_config.databasename
src.input.db_params.DB_params.databasename" class="py-name" href="#" onclick="return doclink('link-24', 'databasename', 'link-4');">databasename</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-25" class="py-name" targets="Method src.configuration.default_config.Default_config.get_databasename()=src.configuration.default_config.Default_config-class.html#get_databasename,Method src.input.db_params.DB_params.get_databasename()=src.input.db_params.DB_params-class.html#get_databasename"><a title="src.configuration.default_config.Default_config.get_databasename
src.input.db_params.DB_params.get_databasename" class="py-name" href="#" onclick="return doclink('link-25', 'get_databasename', 'link-25');">get_databasename</a></tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name" targets="Method src.configuration.default_config.Default_config.set_databasename()=src.configuration.default_config.Default_config-class.html#set_databasename,Method src.input.db_params.DB_params.set_databasename()=src.input.db_params.DB_params-class.html#set_databasename"><a title="src.configuration.default_config.Default_config.set_databasename
src.input.db_params.DB_params.set_databasename" class="py-name" href="#" onclick="return doclink('link-26', 'set_databasename', 'link-26');">set_databasename</a></tt><tt class="py-op">,</tt> <tt id="link-27" class="py-name" targets="Method src.configuration.default_config.Default_config.del_databasename()=src.configuration.default_config.Default_config-class.html#del_databasename,Method src.input.db_params.DB_params.del_databasename()=src.input.db_params.DB_params-class.html#del_databasename"><a title="src.configuration.default_config.Default_config.del_databasename
src.input.db_params.DB_params.del_databasename" class="py-name" href="#" onclick="return doclink('link-27', 'del_databasename', 'link-27');">del_databasename</a></tt><tt class="py-op">,</tt> <tt class="py-string">"name of the database"</tt><tt class="py-op">)</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">    <tt id="link-28" class="py-name"><a title="src.input.db_params.DB_params.host" class="py-name" href="#" onclick="return doclink('link-28', 'host', 'link-8');">host</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-29" class="py-name" targets="Method src.input.db_params.DB_params.get_host()=src.input.db_params.DB_params-class.html#get_host"><a title="src.input.db_params.DB_params.get_host" class="py-name" href="#" onclick="return doclink('link-29', 'get_host', 'link-29');">get_host</a></tt><tt class="py-op">,</tt> <tt id="link-30" class="py-name" targets="Method src.input.db_params.DB_params.set_host()=src.input.db_params.DB_params-class.html#set_host"><a title="src.input.db_params.DB_params.set_host" class="py-name" href="#" onclick="return doclink('link-30', 'set_host', 'link-30');">set_host</a></tt><tt class="py-op">,</tt> <tt id="link-31" class="py-name" targets="Method src.input.db_params.DB_params.del_host()=src.input.db_params.DB_params-class.html#del_host"><a title="src.input.db_params.DB_params.del_host" class="py-name" href="#" onclick="return doclink('link-31', 'del_host', 'link-31');">del_host</a></tt><tt class="py-op">,</tt> <tt class="py-string">"host of the databaseserver"</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">    <tt id="link-32" class="py-name"><a title="src.configuration.default_config.Default_config.schema
src.input.db_params.DB_params.schema" class="py-name" href="#" onclick="return doclink('link-32', 'schema', 'link-6');">schema</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-33" class="py-name" targets="Method src.configuration.default_config.Default_config.get_schema()=src.configuration.default_config.Default_config-class.html#get_schema,Method src.input.db_params.DB_params.get_schema()=src.input.db_params.DB_params-class.html#get_schema"><a title="src.configuration.default_config.Default_config.get_schema
src.input.db_params.DB_params.get_schema" class="py-name" href="#" onclick="return doclink('link-33', 'get_schema', 'link-33');">get_schema</a></tt><tt class="py-op">,</tt> <tt id="link-34" class="py-name" targets="Method src.configuration.default_config.Default_config.set_schema()=src.configuration.default_config.Default_config-class.html#set_schema,Method src.input.db_params.DB_params.set_schema()=src.input.db_params.DB_params-class.html#set_schema"><a title="src.configuration.default_config.Default_config.set_schema
src.input.db_params.DB_params.set_schema" class="py-name" href="#" onclick="return doclink('link-34', 'set_schema', 'link-34');">set_schema</a></tt><tt class="py-op">,</tt> <tt id="link-35" class="py-name" targets="Method src.configuration.default_config.Default_config.del_schema()=src.configuration.default_config.Default_config-class.html#del_schema,Method src.input.db_params.DB_params.del_schema()=src.input.db_params.DB_params-class.html#del_schema"><a title="src.configuration.default_config.Default_config.del_schema
src.input.db_params.DB_params.del_schema" class="py-name" href="#" onclick="return doclink('link-35', 'del_schema', 'link-35');">del_schema</a></tt><tt class="py-op">,</tt> <tt class="py-string">"database schema (e.g. public)"</tt><tt class="py-op">)</tt> </tt>
</div><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Oct  8 17:34:02 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
